interface ShowMessage{
    void displayLogo(String s);
    default void outPutStart(){
        System.out.println("************");
    }
}
class TV implements ShowMessage{
    public void displayLogo(String s){
        System.out.println("tvtvtv");
        System.out.println(s);
        System.out.println("tvtvtv");
    }
}
class PC implements ShowMessage{
    public void displayLogo(String s){
        System.out.println("pepepe");
        System.out.println(s);
        System.out.println("pepepe");
    }
}

public class Main {
    public static void main(String[] args) {
        ShowMessage sm;
        sm = new TV();
        sm.displayLogo("长城牌电视机");
        sm = new PC();
        sm.outPutStart();
        sm.displayLogo("华为个人电脑");
        sm.outPutStart();
    }
}